package cn.edu.scau.cmi.liangzaoqing.client.classicsDesignPattern;

import cn.edu.scau.cmi.liangzaoqing.adapter.AdapterOfClass;
import cn.edu.scau.cmi.liangzaoqing.adapter.AdapterOfObject;
import cn.edu.scau.cmi.liangzaoqing.adapter.Target;

public class AdapterClient {

	public static void main(String[] args) {

		Target classTarget=new AdapterOfClass();
		System.out.println(classTarget.doTarget());
		
		Target objectTarget=new AdapterOfObject();
		System.out.println(objectTarget.doTarget());
	}
}